<template>
    <el-input-number v-model="inputValue" @change="handleChange" :min="1" :max="10" label="描述文字" size="small"></el-input-number>
</template>
<script>
export default {
    props:["cartData"],
    data() {
        return {
            inputValue: 1
        };
    },
    methods: {
        handleChange(value) {
            this.$emit('input',value);
        }
    }
}
</script>